package com.gotloop.web.form;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

/**
 * Loop creation Form.
 * @author jibhaine
 *
 */
public class LoopUpload {

	/**
	 * Loop title.
	 */
	private String title;

	/**
	 * Loop description.
	 */
	private String description;

	/**
	 * Loop Data.
	 */
	private CommonsMultipartFile loopData;

	/**
	 * Beats per minute.
	 */
	private int bpm;
	
	/**
	 * List of tags.
	 */
	private String tags;

	/**
	 * Get accessor for title.
	 * @return the title to get
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * Set accessor for title.
	 * @param pTitle the title to set
	 */
	public void setTitle(String pTitle) {
		this.title = pTitle;
	}

	/**
	 * Get accessor for description.
	 * @return the description to get
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Set accessor for description.
	 * @param pDescription the description to set
	 */
	public void setDescription(String pDescription) {
		this.description = pDescription;
	}

	/**
	 * Get accessor for loopData.
	 * @return the loopData to get
	 */
	public CommonsMultipartFile getLoopData() {
		return loopData;
	}

	/**
	 * Set accessor for loopData.
	 * @param pLoopData the loopData to set
	 */
	public void setLoopData(CommonsMultipartFile pLoopData) {
		this.loopData = pLoopData;
	}

	/**
	 * Get accessor for bpm.
	 * @return the bpm to get
	 */
	public int getBpm() {
		return bpm;
	}

	/**
	 * Set accessor for bpm.
	 * @param pBpm the bpm to set
	 */
	public void setBpm(int pBpm) {
		this.bpm = pBpm;
	}

	/**
	 * Get accessor for tags.
	 * @return the tags to get
	 */
	public String getTags() {
		return tags;
	}

	/**
	 * Set accessor for tags.
	 * @param pTags the tags to set
	 */
	public void setTags(String pTags) {
		this.tags = pTags;
	}
	
}
